1
general::
Phrase(s): have nothing to do with someone or something [and] not have anything to do with someone or something
to prefer not to associate or be associated with someone or something. • I don’t like Mike so I won’t have anything to do with the books he writes. • Bob will have nothing to do with Mary since she quit her job.
McGrawhill's American Idioms And Phrasal Verbs
2
general::
Also, not have anything to do with. 1. Be irrelevant, be unrelated, as in Their visit has nothing to do with the holiday. [Early 1600s] 2. Avoid, as in Dad insisted that we have nothing to do with the neighbors, or I won't have anything to do with people who act like that. [Early 1600s] Also see HAVE TO DO WITH.
American Heritage Idioms